package com.itheima.user.controller;

import com.itheima.domain.User;

import java.io.IOException;
import java.util.ArrayList;

public interface IUserController {
    void start(String username) throws Exception;
    void addUser() throws Exception;
    boolean deleteUser(String username);
    void updatePassword(String username);
    void updateEmail(String username);
    ArrayList<User> findAllUser();
    void findUser(String username);
    String random(String username);
    String getEmail(String username);
    void write() throws IOException;
    void read() throws IOException, ClassNotFoundException;
}
